import Vue from "vue";
// 导入vuex
import Vuex from "vuex";
import user from "./modules/user";
// 使用插件，进行插件的初始化
Vue.use(Vuex);
//创建仓库store
export default new Vuex.Store({
  state: {},
  getters: {},
  mutations: {},
  actions: {},
  modules: {
    user,
  },
});
